<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>

<body>
	<script>
		var divs = document.querySelectorAll('div');
		var divs1 = document.getElementsByTagName('div')
		var div = document.createElement('div')
		document.body.appendChild(div)
		console.log(divs)//能不能看到？
		console.log(divs1)//能不能看到？
	</script>
</body>

</html>